#include <stdio.h>
   int main()
{
   int a[10],i;
   printf("Enter a number :\n");
   for (i=0;i<10;i++) {
	   scanf("%d", &a[i]);}
   printf("the number has reversed:");
   for( i=9;i>=0;i--) {
	   printf("%d\n",a[i]);}
	   printf("\n");
	   return 0;





}
